<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>

  <style>
    * {
      margin: 0;
      padding: 0;
    }
    .shop-nav {
      height: 75px;
      width: 60px;
      /*background-color: darkgoldenrod;*/
    }
    .shop-nav img {
      height: 50px;
      width: 50px;
      margin: 0 auto;
      display: table-cell;
      /*background-color: darkblue;*/
    }
    .shop-nav figcaption {
      height: 25px;
      width: 60px;
      line-height: 30px;
      text-align: center;
      /*background-color: rebeccapurple;*/
    }
  </style>
</head>
<body>

<figure class="shop-nav">
  <img src="static/vegetables.png">
  <figcaption>大闸蟹</figcaption>
</figure>

</body>
</html>
